package com.lcq.study.normal;

import java.util.concurrent.*;

/**
 * @ClassName ThreadPoolTest
 * @Description
 * @Author lichuanqi
 * @Date 2022/3/21 10:44
 * @Version 1.0
 **/
public class ThreadPoolTest {
    public static void main(String[] args) {
        ExecutorService executorService = Executors.newCachedThreadPool();

        ThreadPoolExecutor threadPoolExecutor = new ThreadPoolExecutor(10,
                20, 10, TimeUnit.MINUTES, new LinkedBlockingQueue<>());

    }
}
